﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TraSupervise_xieyi.aspx.cs"
    Inherits="Bidder_TraSupervise_xieyi" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip1" TagPrefix="uc2" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>打印配送协议</title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css"/>

    <script language="vbscript">
    	Sub Load()
		Dim bolSubmit
		bolSubmit = True
		Dim txtInput
		Dim txtarea
		dim i
		
		Set txtInput = document.all("tabData").all.tags("Input")
        Set txtarea = document.all("tabData").all.tags("textarea")
	   
	    For i = 0 To txtarea.length - 1
		    txtarea(i).ReadOnly=true
	    Next
	    
		
	End Sub
	Sub window_onload()
	'msgbox "“sdfgsfg”必须输入数字！",16,"修改档案"
        SetTimeout "Load",1000
    End Sub
    </script>

</head>
<body>

    <script language="javascript">
    
        function Sel()
        {
      //  window.alert("11");
            window.open('../manage/GoodsAdd_CompanySearch_dl.aspx');
        }
        function confirmvalue_dl(obj)
        { 
            document.all("HiddenField1").value = obj.companyid;
            document.all("txtCompanyName_PS").value = obj.companyName;        
        }
     function PriceCheck()
     {    
         
//          var Price=document.getElementById("BidPrice").value; 
//           // window.alert(parseFloat(Price));
//          var PurchasePrice=document.getElementById("waitPrice").value;
            // window.alert(PurchasePrice);
//          if(parseFloat(PurchasePrice)>parseFloat(Price))
//          {
//             window.alert('待调价不能高于中标价');
//             document.getElementById("waitPrice").value = "";
//             return false;
//          }
          return true;
     }
    </script>

    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 4px">
                <img src="../images/intro_left.gif" width="4" height="34"></td>
            <td class="intro_wordbg">
                打印配送协议</td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34"></td>
        </tr>
    </table>
    <form id="form1" runat="server">
        <table width="98%" border="1" align="center" id="tabData" cellpadding="0" cellspacing="0">
            <!--<tr>
   <td style="width: 62px" >选择项目：</td>
   <td colspan=3>
       <asp:DropDownList ID="listProject" runat="server" Width="641px">
       </asp:DropDownList></td>
   </tr>-->
            <tr>
                <td align="right" style="width: 169px">
                    通用名：</td>
                <td style="width: 280px">
                    <asp:TextBox runat="server" ID="ProductName" Width="271px" InvertedComma="通用名"></asp:TextBox></td>
                <td align="right" style="width: 158px">
                    药品流水号：</td>
                <td style="width: 272px">
                    <asp:TextBox ID="txtGoodsId" runat="server" Width="271px" NumericOnly="药品流水号"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="right" style="height: 24px; width: 169px;">
                    规格：</td>
                <td style="height: 24px; width: 280px;">
                    <asp:TextBox runat="server" ID="Outlookc" Width="271px" InvertedComma="规格"></asp:TextBox>
                </td>
                <td align="right" style="height: 24px; width: 158px;">
                    二级送企业名称：&nbsp;</td>
                <td style="height: 24px; width: 272px;">
                    <asp:DropDownList ID="DropDownList1" runat="server" Width="271px">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td align="right" style="height: 21px; width: 169px;">
                    选择地区：&nbsp;
                </td>
                <td style="height: 21px; width: 280px;">
                    <asp:DropDownList ID="lstAreaName" runat="server" Width="148px" AutoPostBack="true">
                    </asp:DropDownList></td>
                <td style="height: 21px; width: 158px;">
                    &nbsp;<asp:Button ID="Button5" runat="server" Text="" CssClass="button_Query" />&nbsp;</td>
                <td align="left" style="height: 21px; width: 272px;">
                    &nbsp;&nbsp;&nbsp;
                    <input id="PrintPrice" class="button_bg6" type="submit" value="打印" style="width: 58px"
                        onserverclick="PrintPrice_ServerClick" runat="server" /></td>
            </tr>
        </table>
        &nbsp;<uc2:DbPageFlip1 ID="DbPageFlip2" runat="server"></uc2:DbPageFlip1>
        <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" CssClass="table_table"
            Font-Size="Smaller" HeaderStyle-CssClass="table_title" Style="behavior: url(../HtmlControl/TableExpand.htc)"
            Width="100%">
            <Columns>
                <asp:BoundField DataField="goodsid" HeaderText="流水号">
                    <ItemStyle Width="60px" />
                </asp:BoundField>
                <asp:BoundField DataField="ProductName" HeaderText="通用名">
                    <ItemStyle Width="60px" />
                </asp:BoundField>
                <asp:BoundField DataField="Medicinemodel" HeaderText="剂型">
                    <ItemStyle Width="40px" />
                </asp:BoundField>
                <asp:BoundField DataField="Outlookc" HeaderText="规格">
                    <ItemStyle Width="60px" />
                </asp:BoundField>
                <asp:BoundField DataField="factor" HeaderText="转换系数">
                    <ItemStyle Width="35px" />
                </asp:BoundField>
                <asp:BoundField DataField="QualityLevels" HeaderText="质量层次">
                    <ItemStyle Width="45px" />
                </asp:BoundField>
                <asp:BoundField DataField="CompanyName_ps" HeaderText="主配送企业">
                    <ItemStyle Width="85px" />
                </asp:BoundField>
                <asp:BoundField DataField="UserCode_ps" HeaderText="主配送企业注册号">
                    <ItemStyle Width="50px" />
                </asp:BoundField>
                <asp:BoundField DataField="areaname" HeaderText="配送地区">
                    <ItemStyle Width="45px" />
                </asp:BoundField>
                <asp:BoundField DataField="companyname_ps_B1" HeaderText="二级配送企业">
                    <ItemStyle Width="85px" />
                </asp:BoundField>
                <asp:BoundField DataField="BidPrice" DataFormatString="{0:N2}" HeaderText="">
                    <ItemStyle Width="60px" />
                </asp:BoundField>
                  <asp:BoundField DataField="RetailPrice" DataFormatString="{0:N2}" HeaderText="">
                    <ItemStyle Width="60px" />
                </asp:BoundField>
            </Columns>
            <RowStyle CssClass="table_td" />
            <HeaderStyle CssClass="table_title" />
            <AlternatingRowStyle CssClass="table_td2" />
        </asp:GridView>
    </form>
</body>
</html>
